package com.hupu.jrs.db

import org.greenrobot.greendao.annotation.Entity
import org.greenrobot.greendao.annotation.Id
import org.greenrobot.greendao.annotation.Property

/**
 * 描述:                         <br></br>
 * 版权:上海意贝斯特信息技术有限公司  <br></br>
 * 作者:管鹏                     <br></br>
 * 日期:2018/3/30                 <br></br>
 */

@Entity
class User {

    @Id
    @Property(nameInDb = "_id")
    val id: Long? = null

    @Property(nameInDb = "USER_NAME")
    val userName: String? = null

    @Property(nameInDb = "UID")
    val uid: String? = null

    @Property(nameInDb = "TOKEN")
    val token: String? = null

    @Property(nameInDb = "ICON")
    val icon: String? = null

    @Property(nameInDb = "SEX")
    val sex: Int? = null

    @Property(nameInDb = "COOKIE")
    val cookie: String? = null

    @Property(nameInDb = "REGISTER_TIME")
    val registerTime: String? = null

    @Property(nameInDb = "LOCATION")
    val location: String? = null

    @Property(nameInDb = "SCHOOL")
    val school: String? = null

    @Property(nameInDb = "THREAD_URL")
    val threadUrl: String? = null

    @Property(nameInDb = "POST_URL")
    val postUrl: String? = null

    @Property(nameInDb = "NICK_NAME_URL")
    val nickNameUrl: String? = null

}
